package com.fantabest.frontend.client.widget;

import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.layout.AccordionLayout;
import com.fantabest.common.client.RegistryKeys;

public class MainMenu extends LayoutContainer {

	public MainMenu() {
		super();
		initPanel();
	}
	
	private void initPanel()	{
		AccordionLayout layout = new AccordionLayout(); 
		this.setLayout(layout);
//		this.setBodyBorder(false);
//		this.setHeaderVisible(false);
		this.setId(RegistryKeys.WEST_CONTAINER);
		this.setStyleName("main-menu-style");
		
		
		this.add(new ManagementMenu());
		this.add(new ResultsMenu());
		this.add(new SquadsMenu());
		this.add(new RostersMenu());
		this.add(new CalendarMenu());
	}
}
